import _fetch from '../utils/request'
import API from './urlconfig'
function insertStuApi (option) {
  return _fetch({
    url: API.insertStu,
    method: 'post',
    data: option
  })
}
function deleteStuApi (option) {
  return _fetch({
    url: API.deleteStu,
    method: 'post',
    data: option
  })
}
function updateStuApi (option) {
  return _fetch({
    url: API.updateStu,
    method: 'post',
    data: option
  })
}
function queryStuApi (params) {
  return _fetch({
    url: API.queryStu,
    method: 'get',
    params: params
  })
}
function queryFinanceListApi () {
  return _fetch({
    url: API.queryFinanceList,
    method: 'get'
  })
}
export {
  insertStuApi,
  deleteStuApi,
  updateStuApi,
  queryStuApi,
  queryFinanceListApi
}
